#/bin/sh

touch ram_log

while true
do
	cat >> ram_log << EOF

	`date`

EOF
	echo "get memory info"
	cat >> ram_log << EOF

	`cat /proc/meminfo`

EOF
	
	sleep 10

done
